<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Silber\Bouncer\Database\HasRolesAndAbilities;
use Silber\Bouncer\Database\Role;

//系统管理员表
class Admin extends Model
{
    use HasRolesAndAbilities;

    protected $table = 'admins';

    protected $fillable = [
    	'username',
    	'password',
    ];

//    public function role()
//    {
//        return $this->belongsToMany(Role::class, 'role_user');
//    }
}
